//
//  ThreeViewController.h
//  WeiMo
//
//  Created by weixian he on 12-8-18.
//  Copyright (c) 2012年 . All rights reserved.
//

#import <UIKit/UIKit.h>

#import "TouchImageView.h"
#import "AGImagePickerController.h"
#import "ASIHTTPRequest.h"
#import "MBProgressHUD.h"
#import "FirstViewPullToGetMoreDataCell.h"
#import "KeyValueObject.h"
#import "CustomPopoverView.h"

@protocol ThreeViewControllerDelegate <NSObject>
- (void)showSlideBarViwButtonClicked:(BOOL)flag;
@end

/*
 首页
 */
@interface ThreeViewController : UIViewController<TouchImageViewDelegate,ASIHTTPRequestDelegate,MBProgressHUDDelegate,UITableViewDataSource,UITableViewDelegate,FirstViewPullToGetMoreDataCellDelegate,CustomPopoverViewDelegate>
{
    
}
@property (nonatomic,assign) id<ThreeViewControllerDelegate> delegate;
@property (nonatomic,retain) NSMutableArray *list; //<NSDictionary>
@property (nonatomic,retain) NSMutableArray *homeItemArray;//首页列表数据
@property (nonatomic,retain) AGImagePickerController *imagePickerController;
@property (nonatomic,retain) NSMutableArray *selectedPhotos;
@property (nonatomic,retain) UIButton *slideBarDisappearButton;

//清空列表数据
- (void)releaseTableViewDatas;

//根据侧边栏选项刷新数据
- (void)refreshTitleAndDatas:(KeyValueObject *)values;
@end
